﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020006E5 RID: 1765
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetFriendBattleRecordDetailCsReq : IMessage<GetFriendBattleRecordDetailCsReq>, IMessage, IEquatable<GetFriendBattleRecordDetailCsReq>, IDeepCloneable<GetFriendBattleRecordDetailCsReq>, IBufferMessage
	{
		// Token: 0x170016AC RID: 5804
		// (get) Token: 0x06004F7C RID: 20348 RVA: 0x000D89C4 File Offset: 0x000D6BC4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetFriendBattleRecordDetailCsReq> Parser
		{
			get
			{
				return GetFriendBattleRecordDetailCsReq._parser;
			}
		}

		// Token: 0x170016AD RID: 5805
		// (get) Token: 0x06004F7D RID: 20349 RVA: 0x000D89CB File Offset: 0x000D6BCB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetFriendBattleRecordDetailCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170016AE RID: 5806
		// (get) Token: 0x06004F7E RID: 20350 RVA: 0x000D89DD File Offset: 0x000D6BDD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetFriendBattleRecordDetailCsReq.Descriptor;
			}
		}

		// Token: 0x06004F7F RID: 20351 RVA: 0x000D89E4 File Offset: 0x000D6BE4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetFriendBattleRecordDetailCsReq()
		{
		}

		// Token: 0x06004F80 RID: 20352 RVA: 0x000D89EC File Offset: 0x000D6BEC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetFriendBattleRecordDetailCsReq(GetFriendBattleRecordDetailCsReq other) : this()
		{
			this.uid_ = other.uid_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06004F81 RID: 20353 RVA: 0x000D8A11 File Offset: 0x000D6C11
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetFriendBattleRecordDetailCsReq Clone()
		{
			return new GetFriendBattleRecordDetailCsReq(this);
		}

		// Token: 0x170016AF RID: 5807
		// (get) Token: 0x06004F82 RID: 20354 RVA: 0x000D8A19 File Offset: 0x000D6C19
		// (set) Token: 0x06004F83 RID: 20355 RVA: 0x000D8A21 File Offset: 0x000D6C21
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Uid
		{
			get
			{
				return this.uid_;
			}
			set
			{
				this.uid_ = value;
			}
		}

		// Token: 0x06004F84 RID: 20356 RVA: 0x000D8A2A File Offset: 0x000D6C2A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetFriendBattleRecordDetailCsReq);
		}

		// Token: 0x06004F85 RID: 20357 RVA: 0x000D8A38 File Offset: 0x000D6C38
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetFriendBattleRecordDetailCsReq other)
		{
			return other != null && (other == this || (this.Uid == other.Uid && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06004F86 RID: 20358 RVA: 0x000D8A68 File Offset: 0x000D6C68
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Uid != 0U)
			{
				num ^= this.Uid.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06004F87 RID: 20359 RVA: 0x000D8AA7 File Offset: 0x000D6CA7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06004F88 RID: 20360 RVA: 0x000D8AAF File Offset: 0x000D6CAF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06004F89 RID: 20361 RVA: 0x000D8AB8 File Offset: 0x000D6CB8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Uid != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.Uid);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06004F8A RID: 20362 RVA: 0x000D8AEC File Offset: 0x000D6CEC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Uid != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Uid);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06004F8B RID: 20363 RVA: 0x000D8B2A File Offset: 0x000D6D2A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetFriendBattleRecordDetailCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Uid != 0U)
			{
				this.Uid = other.Uid;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06004F8C RID: 20364 RVA: 0x000D8B5B File Offset: 0x000D6D5B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06004F8D RID: 20365 RVA: 0x000D8B64 File Offset: 0x000D6D64
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 88U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.Uid = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04001F48 RID: 8008
		private static readonly MessageParser<GetFriendBattleRecordDetailCsReq> _parser = new MessageParser<GetFriendBattleRecordDetailCsReq>(() => new GetFriendBattleRecordDetailCsReq());

		// Token: 0x04001F49 RID: 8009
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001F4A RID: 8010
		public const int UidFieldNumber = 11;

		// Token: 0x04001F4B RID: 8011
		private uint uid_;
	}
}
